#ifndef __EEPROM_H__
#define __EEPROM_H__

#include "head.h"
#include "iostm8s003f3.h"

//EEPROM ADD 0x4000~0x407F
#define     EEP_BASE         0x4000   
#define     MOT_MODE_ADD  (5)
#define     HEAT_MODE_ADD (MOT_MODE_ADD+1)
#define     MEMORY_ADD (HEAT_MODE_ADD+1)

extern void eepromWriteByte(uint8_t addr,uint8_t dat);
extern uint8_t eepromReadByte(uint8_t addr);
extern void  EEPROM_Init(void);


#endif

